package com.qdu.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qdu.common.annotation.Excel;
import com.qdu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 雪具租赁对象 bus_rent
 * 
 * @author qdu
 * @date 2022-03-12
 */
public class BusRent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long rentId;

    /** 账单ID */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long billId;

    /** 库存ID */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "库存ID")
    private Long inventoryId;

    /** 租赁数量 */
    @Excel(name = "租赁数量")
    private Long rentQuantity;

    /** 租赁人 */
    @Excel(name = "租赁人")
    private String rentUserName;

    /** 租赁开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "租赁开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rentStartTime;

    /** 租赁结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "租赁结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rentEndTime;

    /** 租金总额 */
    @Excel(name = "租金总额")
    private String rentMoney;

    /** 是否结算 */
    @Excel(name = "是否结算")
    private Long isPaid;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 租赁类型 */
    @Excel(name = "租赁类型")
    private String rentType;

    /** 物料名称 */
    private String itemName;

    /** 物料编码 */
    private String itemCode;

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public void setRentId(Long rentId)
    {
        this.rentId = rentId;
    }

    public Long getRentId() 
    {
        return rentId;
    }
    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }
    public void setInventoryId(Long inventoryId) 
    {
        this.inventoryId = inventoryId;
    }

    public Long getInventoryId() 
    {
        return inventoryId;
    }
    public void setRentQuantity(Long rentQuantity) 
    {
        this.rentQuantity = rentQuantity;
    }

    public Long getRentQuantity() 
    {
        return rentQuantity;
    }
    public void setRentUserName(String rentUserName) 
    {
        this.rentUserName = rentUserName;
    }

    public String getRentUserName() 
    {
        return rentUserName;
    }
    public void setRentStartTime(Date rentStartTime) 
    {
        this.rentStartTime = rentStartTime;
    }

    public Date getRentStartTime() 
    {
        return rentStartTime;
    }
    public void setRentEndTime(Date rentEndTime) 
    {
        this.rentEndTime = rentEndTime;
    }

    public Date getRentEndTime() 
    {
        return rentEndTime;
    }
    public void setRentMoney(String rentMoney) 
    {
        this.rentMoney = rentMoney;
    }

    public String getRentMoney() 
    {
        return rentMoney;
    }
    public void setIsPaid(Long isPaid) 
    {
        this.isPaid = isPaid;
    }

    public Long getIsPaid() 
    {
        return isPaid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRentType(String rentType) 
    {
        this.rentType = rentType;
    }

    public String getRentType() 
    {
        return rentType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("rentId", getRentId())
            .append("billId", getBillId())
            .append("inventoryId", getInventoryId())
            .append("rentQuantity", getRentQuantity())
            .append("rentUserName", getRentUserName())
            .append("rentStartTime", getRentStartTime())
            .append("rentEndTime", getRentEndTime())
            .append("rentMoney", getRentMoney())
            .append("isPaid", getIsPaid())
            .append("status", getStatus())
            .append("rentType", getRentType())
            .toString();
    }
}
